package com.runa.monitor.platinterface.backwork.function;

import com.runa.monitor.platinterface.netservice.connect.commstatus.CommStatus;

/**
 * @author zhuj
 */
public interface TaskFunction<S, T, R> {

    void setStatus(S s);

    void doApply(CommStatus status, T t);

    R waitResult();

    String getSerial();

    int getPriority();


}
